package com.tn.controller.alarm.common.enums;

/**
 * 理货任务状态
 *
 * @program: tn_aucy_java
 * @author: yangjiayao
 * @create: 2022/3/1
 */
public enum TallyStatusEnum {
    INIT("创建", 0),
    WITHIN_DISTANCE("达到匹配距离", 1),
    CALL_SENT("已下发", 2),
    WORKING("工作中", 3),
    PAUSE("暂停", 4),
    COMPLETE("完成", 5);

    private String description;
    private int code;

    TallyStatusEnum(String description, int code) {
        this.code = code;
        this.description = description;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }
}
